package cn.likole.oj.bean;


import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

@Table("family")
public class Family {

    @Id
    @Column
    private int familyId;

    @Name
    @Column
    private String familyName;

    @Column
    private int patriarchId;//族长id

    @Column
    private int memNum;

    @Column
    private int solved;

    @Column
    private int submit;

    public int getFamilyId() {
        return familyId;
    }

    public void setFamilyId(int familyId) {
        this.familyId = familyId;
    }

    public String getFamilyName() {
        return familyName;
    }

    public void setFamilyName(String familyName) {
        this.familyName = familyName;
    }

    public int getPatriarchId() {
        return patriarchId;
    }

    public void setPatriarchId(int patriarchId) {
        this.patriarchId = patriarchId;
    }

    public int getMemNum() {
        return memNum;
    }

    public void setMemNum(int memNum) {
        this.memNum = memNum;
    }

    public int getSolved() {
        return solved;
    }

    public void setSolved(int solved) {
        this.solved = solved;
    }

    public int getSubmit() {
        return submit;
    }

    public void setSubmit(int submit) {
        this.submit = submit;
    }
}
